package com.woniuxy.entity;

import lombok.Data;
import lombok.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author HP
 * @version 1.0
 * @project
 * 读取minio的配置文件的属性值,用于创建minio的客户端
 * @date 2024/4/9 10:12:12
 */
@Data
@Component
@ConfigurationProperties(prefix = "minio") //批量读取配置文件中的属性值
public class MinioProp {

    private String endpoint;

    private String accesskey;

    private String secretKey;
}
